001 the development environment
OK这就是seemore编程软件。
OK this is seemore programming software.
这是为其品牌的 HDMI 设备创建 HDMI 应用程序的自动化指导解决方案。
This is automation directs solution for creating HDMI applications for their brand of HDMI devices.
因此,当您在 Scatt 中看到这个套件时,它的界面非常干净,非常好。
So when you look at this suite in Scatt a very clean interface it's pretty nice.
它实际上是在支持一个非常不错的产品。
It is actually supporting a really decent product.
HDMI 设备成本非常低,而且实际上非常有用。
There HDMI devices are very low cost and they're actually very useful.
它们很耐用,反应灵敏。
They are durable they're responsive.
它们实际上是一个很好的产品,但我们确实对这个软件有一个挫败感,那就是在演示中运行。
They're actually a good product but we do have one frustration with this software and that is running in demo.
这个东西不会真正与 PC 通信,它甚至不允许你保存你的工作。
This thing won't really communicate with a P C it won't even allow you to save your work.
因此,如果您花费大量时间在这里创建一个非常漂亮的界面,那么当您要保存它时,您可以单击该保存按钮,直到您的手指流血并且您将无法继续工作。
So if you spend hours and hours and hours creating a really nice looking interface in here when you get to the point of saving it you can click on that save button until your finger bleeds and you're not going to get to keep your work.
因此,一旦您关闭应用程序,您在演示模式下所做的所有操作都将完全丢失。
So once you close the app everything that you've done in demo mode is completely lost.
他们让你看看他们的软件。
They let you look at their software.
他们让你评估它。
They let you evaluate it.
但在我看来,自动化直接对学生来说并不是特别友好,所以这种你知道的方式确实给我留下了不好的印象。
But in my opinion automation direct is not particularly student friendly so that kind of you know really sets a bad note with me.
但无论如何我已经抱怨完了。
But anyway I'm done whining.
我们先来说一下这个的接口。
Let's talk about the interface of this.
首先,您已经看到了标准工具栏。
First of all you've got your standard toolbars appear.
这个界面的一个好处是这里有这三个按钮。
And one nice thing about this interface is you've got these three buttons right here.
只要您确实将物理 HDMI 设备连接到计算机并且拥有该软件的许可证,就可以开始模拟并发送。
Start simulate and send send whenever you actually have a physical HDMI device connected to your computer and you have a license for the software.
一旦您准备好转移您的申请。
Once you're ready to transfer your application over.
你点击发送,它会弹出一个简短的小窗口,为你提供几个传输选项,以确保你选择正确的面板,以防你可能连接了一些不同的设备。
You hit send and it pops up with a brief little window giving you just a couple of transfer options to make sure you're selecting the right panel in case you have maybe a few different devices connected.
然后您所要做的就是再次点击“发送”,它会立即将您的应用程序加载到面板上。
And then all you have to do is hit send again and it instantly loads your app right up onto the panel.
所以在这方面它真的很酷。
So it's really pretty cool in that regard.
每当我们点击它并点击开始时进行模拟,它实际上都会为我们打开一个小伪面板,我们将能够在这里看到我们的应用程序的样子。
Simulate whenever we click on that and hit start it actually is going to open up kind of a little pseudo panel for us and we're going to be able to see right here what our app looks like.
然后我们创建或引用的任何标签都将显示在这个小模拟窗口中。
And then any tags that we've created or referenced are going to show up in this little simulation window.
因此,即使我们无法与实时 PLCC 通信,我们也能够对这些标签进行一些操作,看看我们的显示响应如何。
So even though we can't communicate with a live PLCC we will be able to act on those tags a little bit and see how our display response.
因此,出于这个原因,在本节末尾,您将看到我们有一个半现场演示而不是现场演示,因为我们实际上并没有与人们看到的实际现场进行交流。
So for that reason at the end of this section you're going to see that we have a semi live demo instead of a live demo because we're really not communicating with an actual live people see.
但我们至少会看到我们的应用程序运行起来。
But we are going to get to see our app in action at least.
所以请对此感到安慰。
So take some solace in that.
此外,当您查看这些下拉菜单时,只要我们进入设置,就会出现一些更有用的东西。
Also when you look up into these dropdown menu there's some more useful stuff appear whenever we get into setup.
您将看到这位面板经理。
You're going to see this panel manager.
这是我们大部分硬核配置在这个程序中完成的地方,我们只是赫尔曼,我们正在研究什么样的面板是 HDMI 设备,并且我们有该软件支持的不同可用模型。
This is where most of our hard core configuration is done in this program we just Herman what kind of panel are HDMI device is that we're working on and we have the different available models that this software supports.
这些是由 Automation direct 制作的不同屏幕。
These are the different screens made by automation direct.
不,我不想改变这一点。
And no I don't want to change that.
然后,我们实际上拥有该特定屏幕可能或可能不可用的任何 com 端口,然后我们可以在此处添加右键单击,并实际添加要连接到那里的任何设备。
Then we actually have whatever com ports may or may not be available for that particular screen and then we can add right click here and actually add whatever devices are going to be connected there.
因此,默认情况下,我们将此设备放在 COM 端口 1 上,如果我们愿意,也许可以将设备放在以太网端口上。
So here by default we have this device on COM port 1 and maybe if we would rather we could put a device here on the Ethernet port.
但是,当我们进入该设备时,您可以看到我们已经有了通信配置,甚至还选择了我们可能尝试与该面板管理器内部通信的 PLCC 类型的驱动程序。
But when we go into this device you can see we've got communication configurations and even a driver selection for what type of PLCC we might be trying to communicate with inside of this panel manager.
这确实是您所有通信的所在地。
That's really where all of your communications go.
这是好事。
That's a good thing.
除此之外,您想要非常熟悉的东西会出现在您的数据库中。
Aside from that something you want to be very familiar with is appear on your database.
这是您的标签名称数据库。
This is your tag name database.
这里实际上拥有所有内部标签,这些标签属于 HDMI 本身。
And here is where you actually have all of your internal tags which are the ones that belong to the HDMI itself.
但随后您也可以创建新标签并指向设备之类的东西。
But then you also can create new tags and point to devices and things like that.
因此,我们将在后面的讲座中介绍如何创建标签、如何管理这些标签以及如何引用这些标签。
So we'll get into how to create tags and how to manage those tags and how to reference those tags in later lectures.
但现在我只想让您熟悉一下左侧的界面。
But right now I'm just wanting to familiarize you a little bit with this interface to the left.
我们对项目进行了探索,一旦我们创建了一些新屏幕,您将看到这些屏幕都会出现在此处,因此您将能够向下滚动并查看您正在使用的所有屏幕另一边是一个对象调色板,其中包含我们可以使用的所有不同的控件和显示,因此如果我们想在我们的应用程序中引入一个模拟时钟,我们实际上可以像这样的蓝色,我们只需将其拖到此处并放入,您就会看到我们有一个模拟时钟显示。
We have our project explore and once we create a few new screens you're going to see those are all going to kind of appear here so you're going to be able to just scroll down and see all the screens you're working with over here on the other side is an object palette which has got all of the different controls and displays that we can use so if we want to bring in let's say an analog clock into our application where we can actually kind of like this blue and we can just drag that over here and drop it in and lo and behold we've got an analog clock display.
如果你滚动浏览这个列表,就会发现我们可以使用各种各样的东西,我们不会讨论几乎所有这些东西,而是其中的几个和后续的讲座。
And if you scroll through this list there's all kinds of things that we can use and we're going to get into not nearly all of those but several of those and subsequent lectures.
但我们不会在此应用程序上花费大量时间。
But we're not going to be spending a significant amount of time in this application.
我希望您接触并熟悉它,但由于我们与此应用程序通信的能力有限,因此实际上不会有任何项目工作。
I want you to be exposed to it and familiar with it but because we're limited on our ability to communicate with this app there's really not going to be any project work.
如果您确实创建了一个项目,那么您就无法保存它。
If you did create a project it's not like you could save it.
无论如何,感谢自动化指导软件策略。
Anyway thanks to automation directs software policies.
因此,我们确实不会为此投入比其真正应得的时间更多的时间。
So we're really not going to dedicate a lot more time to this than what it really deserves.
我们将通过在屏幕上放置一些控件来进行实验,我将引导您完成该软件的一些不同功能。
We're going to experiment by putting a few controls on the screen and I'm going to walk you through some different functionality of the software.
然后我们将放弃这一点,并继续在我们的课程中更广泛地使用更实用的技术。
And then we're going to abandon this and move on to more widely used in more practical technologies for our course.
因此,就像我们在右侧有这个对象调色板一样,我们在这里也有工具和对象,如果我们想显示文本或时钟管理食谱,基本上我们可以访问所有相同的东西。
So just like we have this object palette over here on the right we also have tools and objects here and here basically we have access to all of the same thing if we want to display text or clock manage recipes.
我们已经得到了只能使用位图的图像,但如果我们想将 Photoshop 或我们的相机或其他东西中的图像导入到应用程序中,总比没有好。
We've got images that we can work with only bitmaps but still better something than nothing if we want to bring an image from you know Photoshop or our camera or something into the app.
我们可以通过显示仪表指示器让您了解简单的灯多状态显示。
We can display meters indicators to you know simple lamps multi state displays.
确实有各种各样的工具,所有基本的东西都在这个应用程序中。
There's really all kinds of tools all the basic stuff is in this app.
这实际上就是正在发生的事情的界面。
So that's really the interface that's pretty much what's going on.
我们将在这里查看和使用大量其他内容,我当然没有详尽地介绍所有内容,但这只是让您快速了解此应用程序中发生的情况,以便当我们跳转时马上开始创造一些你已经熟悉的东西。
There are a ton of other things that we're going to be looking at and using in here and I certainly didn't go exhaustively through everything but that just gives you a quick overview of what's going on in this app so that when we jump right in and start creating things you're already going to kind of know your way around a little bit.
到处玩。
Play around.
检查一些东西,我们将在下一讲中见到您,或者我们将开始实际构建。
Check out some things and I'll see you in the next lecture or we'll start actually building.
干杯
Cheers